/**
 * Created by wanghongxiang on 2018/5/21.
 */
import { high } from 'nc-lightapp-front';

const { Refer } = high;

export default function (props = {}) {
    var conf = { multiLang: { domainName: 'hrhi', currentLocale: 'zh-CN',  moduleId: 'refer6007'},
        refType: 'grid',
        refName: 'hi6007-000009',/* 国际化处理： 人员*/
        placeholder: 'hi6007-000009',/* 国际化处理： 人员*/
        refCode: 'hrhi.refer.PsndocGlobalGridRef',
        queryGridUrl: '/nccloud/hrhi/ref/PsndocGlobalGridRef.do',
        columnConfig: [{name: [ 'hi6007-000004', 'hi6007-000005','hi6007-000006','hi6007-000007','hi6007-000008' ],code: [ 'refcode', 'refname' ,'org_orgs.name','org_dept.name','om_post.postname']}],/* 国际化处理： 人员编码,姓名,组织,部门,岗位*/
        isMultiSelectedEnabled: false
    };

    return <Refer {...Object.assign(conf, props)} />
}
